package com.sys.service;

import com.sys.model.Student;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface StudentService {

    /*查询全部学生信息*/
    List<Student> getStudentList(Map requestparamMap);

    /*根据idcard 查询学生信息*/
    Student getStudentByIdcard(int idcard);

    /*根据 id 查询学生信息*/
    Student getStudentById(int id);

    /*添加学生信息*/
    int insertStudent(Student student);

    /*删除学生信息*/
    int delStudent(int id);

    /*修改学生信息*/
    int upStudent(Student student);

    List<Student> getStudentByZid(int zid);

    List<Student> getStudentByCid(int cid);

    /*查询最后一条学生信息 账号*/
    Student getStudentBylast();
}
